package com.david.zhufengfm.widgets;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.widget.TextView;

import com.david.zhufengfm.R;

/**
 * Created by David on 2015/10/24.
 * qq:978944820
 */
public class TagTextView extends TextView{
    public TagTextView(Context context) {
        super(context);
        init(context);
    }

    private void init(Context context) {
        setBackgroundResource(R.drawable.shape_textview_tag);
    }

    public TagTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onDraw(Canvas canvas) {
        Paint paint=new Paint();
//        paint.se
    }
}
